﻿using FlyIL;
using FlyIL.Emu;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlyIl.AdvanceTests
{
    internal class TestHelper
    {


        internal static Cpu Run32(Context context)
        {
            var cpu = new Cpu(false, null);

            cpu.Run(context, context.Entry);

            return cpu;
        }

        internal static Cpu Run64(Context context)
        {
            var cpu = new Cpu(true, null);

            cpu.Run(context, context.Entry);

            return cpu;
        }


    }
}
